﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="admin_bat_dong_san_Default" %>
<%@ Register src="../../usercontrol/leftMenu.ascx" tagname="leftMenu" tagprefix="uc1" %>
<%@ Register src="../../usercontrol/leftMenuAdd.ascx" tagname="leftMenuAdd" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
     <script src="/Scripts/paging.js" type="text/javascript"></script>
     <script src="/Scripts/menuLeft.js" type="text/javascript"></script>
    <script src="/admin/js/batdongsan.js" type="text/javascript"></script>
    <title>kimland.vn - bất động sản</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="body">
    <div class="bodyL">
        <uc1:leftMenu ID="leftMenu1" runat="server" />
        <uc2:leftMenuAdd ID="leftMenu2" runat="server" />
    </div>
           
    <div class="bodyR">
        <div class="topCatBR">
            <p class="l"></p>
            <div class="m">
                <div class="pos">
                    <asp:Literal ID="litPos" runat="server" Text="<a href='#'>Danh mục bất động sản</a>"></asp:Literal>
                </div>
            </div>
            <p class="r"></p>
        </div>
        <div class="boxBorder" style="min-height:1000px;height:1000px;height:auto;">
            <div class="info_div" id="fail" runat="server" visible="false">        
                <asp:Label ID="lblMessage" runat="server" Text="" CssClass="ico_cancel"></asp:Label>
            </div>
            <div class="info_div" id="success" style="display:none"><span class="ico_success">Cập nhật thứ tự thành công!</span></div>
            
            <asp:Button ID="btnXoa" runat="server" Text="Xóa" CssClass="buttonA" OnClientClick="return doDel();" onclick="btnDel_Click"/>
            <a class="buttonA" href="/admin/bat-dong-san/editor.aspx">Thêm mới</a>
            <br /><input type="checkbox" onclick="doCheckAll(this)"/><i>   Check All</i><br />
            
            <p id="loading">
                    <img src="/images/loading7.gif" /></p>    
            <div class="b175x200">                            
                <asp:repeater ID="repDanhMucNha" runat="server">
                <ItemTemplate>
                <div class="boxss">
                    <p class="tl"></p><p class="tm"></p><p class="tr"></p>
                    <div class="m">
                        <div class="im">
                            <div class="itemDuAn">
                                <input type="checkbox" id='<%# Eval("id") %>' group='check' style="float:left;"/>
                                <span style="display:block;float:right"> <a href='/admin/bat-dong-san/editor.aspx?id=<%# Eval("id") %>' class="reds" style="text-decoration:underline">Sửa</a></span>
                                <div class="clear">
                                <a href="#">
                                    <img src='/userupload/images/home/<%# Eval("homeAvatar") %>' width="169px" height="110px" class="imgnone"/></a>
                                <p class="sSplit"></p>
                                <p class="tit"><a href="#"><%# LIB.ConvertUtility.DocTienBangChu(LIB.ConvertUtility.ToDouble(Eval("homeGia").ToString(),true)*1000," VNĐ") %></a></p>
                                <%# Eval("homeIntro")%>
                                </div>
                            </div>
                        </div>
                    </div>
                    <p class="bl"></p><p class="bm"></p><p class="br"></p>
                </div>
                </ItemTemplate>
                </asp:repeater>
                <div class="page" style="text-align:center;margin:10px 0px;clear:both;">
                    <asp:Label ID="pagerbot" runat="server" Text="" CssClass="pager" ></asp:Label>
                </div>
                        
            </div>
        </div>
    </div>
    </div>
    <asp:HiddenField ID="hidKeyDel" runat="server" /> 
</asp:Content>

